package com.xucan.breakx;

import java.math.BigDecimal;

public class ForXCon {
    public static void main(String[] args) {
        BigDecimal bigDecimal = new BigDecimal("0.830");
        BigDecimal bigDecimal1 = new BigDecimal("100.01");
        System.out.println(bigDecimal1.multiply(bigDecimal));
        System.out.println(bigDecimal.stripTrailingZeros());
        System.out.println(bigDecimal1.stripTrailingZeros());




    }
}
